#ifndef __qytest__
#define __qytest__

#include <QObject>

class QySciLexer;
class QScriptValue;

class QyLexerFactory : public QObject {
	Q_OBJECT
public:
	QyLexerFactory( QObject * parent=0 );

	Q_INVOKABLE QySciLexer * lexer( const QString & fileFilter );

public slots:
	void applySettings( const QScriptValue & value );

private:
	QySciLexer * p_lexer;

};

#endif/*__qytest__*/
